import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
import { BrowserRouter } from "react-router-dom";

// import reportWebVitals from './reportWebVitals';\

//导入antd-mobile的样式
import "antd-mobile/dist/antd-mobile.css";

//导入字体图标样式
import "./assets/fonts/iconfont.css";

import "./index.css";

//导入长列表渲染组件react-virtualized的样式文件
import "react-virtualized/styles.css";

const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
  // <React.StrictMode> 严格模式
  <BrowserRouter>
    <App />
  </BrowserRouter>
  // </React.StrictMode>
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
// reportWebVitals();
